﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Drawing;
using SGP;

namespace AnimationEditor
{
    public class Animation
    {

        private int NumFrames;
        int index = 0;

        public int Index
        {
            get { return index; }
            set { index = value; }
        }

        public int NumFrames1
        {
            get { return NumFrames; }
            set { NumFrames = value; }
        }

        public int IgnoredRed;
        public int IgnoredGreen;
        public int IgnoredBlue;

        private string ImagePath = "none";

        public string ImagePath1
        {
            get { return ImagePath; }
            set { ImagePath = value; }
        }
        public List<Frame> FrameList = new List<Frame>();
        
        //Override to string
        public override string ToString()
        {
            return "Animation: " + (index + 1).ToString();
        }
    }
}
